package com.tms.customer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 客户基础资料对象 customer
 *
 * @author ruoyi
 * @date 2024-11-06
 */
public class Customer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 客户编码 */
    @Excel(name = "客户编码")
    private String customerID;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private String industry;

    /** 客户级别 */
    private String customerLevel;

    /** 客户标签 */
    private String customerTags;

    /** 区域 */
    private String region;

    /** 公司地址 */
    private String companyAddress;

    /** 邮编 */
    private String zipCode;

    /** 备注信息 */
    private String remarks;

    /** 客户状态 */
    @Excel(name = "客户状态")
    private Integer customerStatus;

    /** 姓名 */
    @Excel(name = "姓名")
    private String contactName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 部门 */
    private String department;

    /** 职位 */
    private String position;

    /** E-mail */
    private String email;

    /** QQ */
    private String qq;

    /** 发票抬头 */
    private String invoiceTitle;

    /** 纳税人识别号 */
    private String taxpayerID;

    /** 开户行 */
    private String bankName;

    /** 开户名称 */
    private String accountName;

    /** 银行账号 */
    private String bankAccount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setCustomerID(String customerID)
    {
        this.customerID = customerID;
    }

    public String getCustomerID()
    {
        return customerID;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setIndustry(String industry)
    {
        this.industry = industry;
    }

    public String getIndustry()
    {
        return industry;
    }
    public void setCustomerLevel(String customerLevel)
    {
        this.customerLevel = customerLevel;
    }

    public String getCustomerLevel()
    {
        return customerLevel;
    }
    public void setCustomerTags(String customerTags)
    {
        this.customerTags = customerTags;
    }

    public String getCustomerTags()
    {
        return customerTags;
    }
    public void setRegion(String region)
    {
        this.region = region;
    }

    public String getRegion()
    {
        return region;
    }
    public void setCompanyAddress(String companyAddress)
    {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress()
    {
        return companyAddress;
    }
    public void setZipCode(String zipCode)
    {
        this.zipCode = zipCode;
    }

    public String getZipCode()
    {
        return zipCode;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setCustomerStatus(Integer customerStatus)
    {
        this.customerStatus = customerStatus;
    }

    public Integer getCustomerStatus()
    {
        return customerStatus;
    }
    public void setContactName(String contactName)
    {
        this.contactName = contactName;
    }

    public String getContactName()
    {
        return contactName;
    }
    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber()
    {
        return phoneNumber;
    }
    public void setDepartment(String department)
    {
        this.department = department;
    }

    public String getDepartment()
    {
        return department;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setQq(String qq)
    {
        this.qq = qq;
    }

    public String getQq()
    {
        return qq;
    }
    public void setInvoiceTitle(String invoiceTitle)
    {
        this.invoiceTitle = invoiceTitle;
    }

    public String getInvoiceTitle()
    {
        return invoiceTitle;
    }
    public void setTaxpayerID(String taxpayerID)
    {
        this.taxpayerID = taxpayerID;
    }

    public String getTaxpayerID()
    {
        return taxpayerID;
    }
    public void setBankName(String bankName)
    {
        this.bankName = bankName;
    }

    public String getBankName()
    {
        return bankName;
    }
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getAccountName()
    {
        return accountName;
    }
    public void setBankAccount(String bankAccount)
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount()
    {
        return bankAccount;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerID", getCustomerID())
            .append("customerName", getCustomerName())
            .append("industry", getIndustry())
            .append("customerLevel", getCustomerLevel())
            .append("customerTags", getCustomerTags())
            .append("region", getRegion())
            .append("companyAddress", getCompanyAddress())
            .append("zipCode", getZipCode())
            .append("remarks", getRemarks())
            .append("customerStatus", getCustomerStatus())
            .append("contactName", getContactName())
            .append("phoneNumber", getPhoneNumber())
            .append("department", getDepartment())
            .append("position", getPosition())
            .append("email", getEmail())
            .append("qq", getQq())
            .append("invoiceTitle", getInvoiceTitle())
            .append("taxpayerID", getTaxpayerID())
            .append("bankName", getBankName())
            .append("accountName", getAccountName())
            .append("bankAccount", getBankAccount())
            .append("time", getTime())
            .toString();
    }
}
